import request from '@/utils/request'

export function getList(current,size) {
  return request({
    url: `/moniter-history/page/${current}/${size}`,
    method: 'get'
  })
}
export function doDelete(id) {
  return request({
    url: `/moniter-history/${id}`,
    method: 'delete'
  })
}
export function getAll() {
  return request({
    url: `/moniter-history/`,
    method: 'get'
  })
}
export function search(data) {
  return request({
    url: '/moniter-history/itemid/'+data,
    method: 'get'
  })
}